<?php
/**
 * 主函数
 * @package WordPress
 * @subpackage wheatv
 */
 
/*！！！！请不要编辑这个文件，否则会影响主题正常运行！！！！！！！*/
$Theme_version="V1.0";
$Theme_name = "wheatv";

/*-------------------------------------------
* Theme specific functionality
-------------------------------------------*/
$functions_path = TEMPLATEPATH . '/functions/';
$extends_path   = TEMPLATEPATH . '/extends/';
$admin_path     = TEMPLATEPATH . '/admin/';
$widgets_path   = TEMPLATEPATH . '/widgets/';

/*公共函数*/
include($functions_path."common.php");

/*后台管理*/
include($admin_path."admin-functions.php");
include($admin_path."admin-panel.php");

/*扩展*/
include($extends_path."theme-cate-field.php");
include($extends_path."theme-post-field.php");

/*自定义文章类型*/
include($extends_path."theme-slider.php");

/*自定义小工具*/
include($widgets_path."example-widget.php");

/*---------------------------------------------------------
* 你可以在theme-functions.php中添加自己的函数
----------------------------------------------------------*/
include($functions_path."theme-functions.php");
?>